package info.heidao.ww2.api.resp;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import info.heidao.ww2.common.jackson.LongToDateSerializer;
import lombok.Data;

/**
 * @author: zhengheng
 * @Date: 2021-08-03 15:12
 * @Description:
 */
@Data
public class DamageResp {
    @JSONField(name = "damage")
    private Long damage;
    @JSONField(name = "boss_id")
    private Long bossId;
    @JSONField(name = "boss_name")
    private String bossName;
    @JSONField(name = "round")
    private Integer round;

    @JsonSerialize(using = LongToDateSerializer.class)
    @JSONField(name = "log_time")
    private Long logTime;

    @JSONField(name = "is_kill")
    private Integer isKill;
}
